import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
    history: createWebHistory(import.meta.env.BASE_URL),
    routes: [
        {
            path: '',
            name: 'Home',
            component: () => import('../components/Map/Map.vue')
        },
        {
            path: '/District/XuHui',
            name: 'XuHui',
            component: () => import('../components/District/XuHui/XuHui.vue')
        }
    ]
})

export default router